Considering the operations that some of the rendernode constructors
do, nodes with width or height 0 (or both of course) are very well
possible. This would break in the rendernodepaintable when adding a
transform, which divides by width/height of the rendernode.
GtkRenderNodePaintable *self = GTK_RENDER_NODE_PAINTABLE (paintable);
gboolean needs_transform;
+ if (self->bounds.size.width <= 0 ||
+ self->bounds.size.height <= 0)
+ return;
+
needs_transform = self->bounds.size.width != width ||
self->bounds.size.height != height;